home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: MegaDisc / MegaDisc 24 (1991-10)(MegaDisc Digital Publishing)(AU)(Disk 1 of 2)[WB].zip / MegaDisc 24 (1991-10)(MegaDisc Digital Publishing)(AU)(Disk 1 of 2)[WB].adf / REVIEWS / Dos_Monitors / Dos_Monitors
Text File  |  1991-10-06  |  9KB  |  207 lines

  1.  
  2.  
  3.  
  4.                         ARTM (AMIGA REALTIME MONITOR) 
  5.  
  6.                              by Dave Hooton
  7.  
  8.  
  9.                                                          22 June 1991
  10.                                                          (updated 12 August)
  11.  
  12.         Ed: You'll find ARTM on Fish 327, and Xoper on Fish 318.
  13.  
  14.  
  15.     ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ##
  16.  
  17.  
  18.  
  19. ARTM is a monitor for the Amiga operating system. Its purpose is to
  20.   inform you what is happening in the bowels (Exec) of your Amiga and to
  21.   give you some way of controlling things. Usually you want to know what
  22.   tasks are executing, especially those that the AmigaDOS Status command
  23.   will not show - like resident tasks (yours and Exec's) and processes.
  24.   Then you may want to know their priorities; perhaps change them.
  25.   Ultimately you may want to remove or kill one rather than face another
  26.   reset. A monitor like ARTM will allow you to do these things.
  27.  
  28.     So too does Xoper, which is the best known Amiga monitor. I'll use it
  29.   as a benchmark.
  30.  
  31. Display
  32. -------
  33.   ARTM is controlled through 14 gadgets that you click on with the mouse
  34.   pointer. These gadgets are at the bottom of its fixed-size window, and
  35.   are always visible. Four other gadgets may appear, with text in a
  36.   different colour, depending on the information being displayed. These
  37.   are the action gadgets. For example "More" will provide additional
  38.   information for a selected item; "Priority" will change its priority.
  39.  
  40.     ARTM can be put to sleep, and a jazzy icon will appear that needs to
  41.   be double-clicked to awaken it.
  42.  
  43.     Xoper can be used with a sizeable window or on its own screen. It is
  44.   operated through the keyboard. Most information displays are available
  45.   with a single letter. The HELP key will show the available displays and
  46.   commands. It too has a jazzy icon when put to sleep.
  47.  
  48. Features
  49. --------
  50.   Both monitors show fairly technical information in their many displays.
  51.   So if you're new to the Amiga, don't be concerned that you understand
  52.   only 1 or 2 of the displays eg. tasks (or programs), windows, memory.
  53.   I won't bore beginners or experts by attempting any explanations, but I
  54.   will attempt to point out the differences between the monitors.
  55.  
  56.      1. Tasks
  57.  
  58.         Xoper shows the CPU(processor) usage of each task as a percentage
  59.         so you can SEE how active the task is. The information is updated
  60.         every 5 seconds, which you can change with the "time" command. I
  61.         find this to be the most useful display, as it can tell you if a
  62.         task is misbehaving eg. by using too much CPU or by using CPU when
  63.         it should be inactive. ARTM does not have this facility.
  64.  
  65.         Both monitors allow you to remove tasks and change task priority.
  66.  
  67.         ARTM shows the stack usage, whereas you have to go to a "Stack"
  68.         display in Xoper. Using "More" on a selected task will get ARTM to
  69.         give you more task data; stacks included.
  70.  
  71.         It is a mixed bag as far as correctness is concerned - ARTM has
  72.         the correct stack data and gets the amount used wrong! Xoper's
  73.         stack usage is nearly 100% correct.
  74.  
  75.      2. Windows (and Screens)
  76.  
  77.         ARTM's "More" will give more detailed window data (from the Window
  78.         structure) and its "Close" gadget is more convenient than Xoper's
  79.         "CloseWindow" plus address, which have to be typed.
  80.  
  81.         Xoper shows the Owner Task, which is useful when the window has no
  82.         title. But ARTM shows the window size and position, so with a
  83.         little more thought you could still identify the window.
  84.  
  85.         ARTM shows screen details on the same display, where Xoper requires
  86.         you to go to a separate "Screens" display and to use "CloseScreen"
  87.         to close them.
  88.  
  89.      3. Libraries
  90.  
  91.         ARTM shows the priority and allows "Remove" "Close" and "Priority"
  92.         commands on a library. Xoper offers  "CloseLib" and "OpenLib"
  93.         commands, and will remove an unused library with "Flush".
  94.  
  95.         As a piece of trivia, Xoper somehow managed to get the version
  96.         number of the Intuition library wrong in Kickstart 1.2!
  97.  
  98.      4. Devices ("D" in Xoper),   5. Resources and  6. Ports
  99.  
  100.         These are Exec (operating system "manager") facilities.
  101.         ARTM shows priority and allows "Remove" and "Priority" commands.
  102.  
  103.      7. Residents
  104.  
  105.         Both will show my Recoverable RamDisk device, but ARTM highlights
  106.         it, because it does naughty things with the Vectors!
  107.  
  108.      8. Vectors ("Capture" in Xoper)
  109.  
  110.         ARTM shows more detail, including the resident task that may be
  111.         upsetting the various capture and pointer vectors. Both will allow
  112.         the vectors to be cleared, with ARTM being the simplest to operate.
  113.  
  114.      9. Memory
  115.  
  116.         Both show details of Chip, Fast(Slow Fast) and Expansion(true Fast)
  117.         memory. But only ARTM will show memory fragmentation - via "More".
  118.         Priority may be changed in both, but Xoper is the more cumbersome
  119.         eg. "Pri 1 Fast Memory".
  120.  
  121.      10. Mount ("Devices" in Xoper)
  122.  
  123.         This display, particularly in ARTM, is similar to the AmigaDOS
  124.         INFO command.
  125.         Note that "Tracks" in Xoper is the same as "Cylinders" in ARTM!
  126.  
  127.      11. Assign
  128.  
  129.         Same data as the AmigaDOS ASSIGN command. Not available in Xoper!
  130.  
  131.      12. Fonts
  132.  
  133.         ARTM has better information and will allow a font to be removed.
  134.  
  135.      13. Hardware
  136.  
  137.         Shows any expansion devices plus details of custom chips. Not
  138.         available in Xoper.
  139.  
  140.      14. Interrupts
  141.  
  142.         About the only safe time to use this with either monitor is just
  143.         after a reset!! ARTM was the most spectacular when it scrambled
  144.         RAD:, frizzed the screen display and rattled the DF0: drive! The
  145.         histrionics appear to be better controlled in Kickstart 1.3.
  146.  
  147.    Xoper has some additional features of which the most useful are:-
  148.  
  149.      1. Locks
  150.         Display all file locks and allow them to be unlocked. It does not
  151.         show the task that created the lock, so beware!
  152.  
  153.      2. CurrentDir
  154.         Display the current directory of each task/process.
  155.  
  156.      3. Flush
  157.         This command will clean-up memory, and remove unused libraries,
  158.         devices and fonts. This command is safe to use at anytime.
  159.  
  160. General
  161. -------
  162.   ARTM requires almost twice as much memory as Xoper (in Window mode).
  163.   ARTM's addresses are 6 Hex digits, whereas Xoper always uses the full 8
  164.   (or 32 bits). I would not recommend it to A3000 users!
  165.  
  166.     ARTM is definitely NOT a real-time monitor. Xoper is the only one
  167.   that automatically updates its information (every 5 seconds by default).
  168.  
  169.     You should always be aware of the effects (and possible side-effects)
  170.   of using commands that produce change, because the monitors assume you
  171.   know what you are doing eg. they WILL close the window of an active
  172.   task! So whilst you may affect only your program, you may also upset
  173.   the fine balance of the operating system tasks and parameters and cause
  174.   some sort of system failure. I tend to meddle only if I have nothing to
  175.   lose eg. the disaster has already happened and I'm hoping to fix it!
  176.  
  177. Removing Tasks
  178. --------------
  179.   The monitors have different approaches when it comes to removing or
  180.   killing tasks. ARTM will remove the task and leave any windows for you
  181.   to close separately. Xoper will remove the task AND close any windows
  182.   (including any System Request!). However, Xoper does not work reliably
  183.   with tasks that initially detach themselves from the CLI (like Xoper!).
  184.   Xoper recognises this type of task and asks if it should be unloaded.
  185.   Best answer NO; it will still close windows.
  186.  
  187.     In one sequence of operations, where I could reliably(!) crash a task
  188.   launched from my directory utility, ARTM removed all tasks and windows
  189.   (except System Requests) and allowed each task to be rerun. On one
  190.   occasion, Xoper crashed the system (Software Failure Alert) even after
  191.   replying NO to the unload question! With slightly different scenarios
  192.   ARTM cleared up the mess, whilst Xoper failed at the first step!
  193.  
  194. Conclusion
  195. ----------
  196.   I would give ARTM the nod when it comes to removing tasks; it is simpler
  197.   and quicker, even having to close windows separately, and seems more
  198.   reliable than Xoper. Use ARTM for its more comprehensive display of
  199.   system information. But get Xoper if you want a real-time monitor with
  200.   more system commands and better configurability.
  201.  
  202.  
  203.  
  204.     ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ## 24 ##
  205.  
  206.  
  207.